package com.newzqxq.koalamoney.entity;

import java.io.Serializable;

/**
 * Created by ZQXQ-Developer on 2017/7/13.
 */

public class UserBean {
    private static final long serialVersionUID = -828322761336296999L;

    public String method;
    public String ip;
    public String url;
    public String des;
    public String upload;
    public Author author;

    public class Author implements Serializable {
        private static final long serialVersionUID = 2701611773813762723L;

        public String name;
        public String fullname;
        public String github;
        public String address;
        public String qq;
        public String email;
        public String des;


        public String getName() {
            return name;
        }

        public String getFullname() {
            return fullname;
        }

        public String getGithub() {
            return github;
        }

        public String getAddress() {
            return address;
        }

        public String getQq() {
            return qq;
        }

        public String getEmail() {
            return email;
        }

        public String getDes() {
            return des;
        }

        @Override
        public String toString() {
            return "Author{\n" +//
                    "\tname='" + name + "\'\n" +//
                    "\tfullname='" + fullname + "\'\n" +//
                    "\tgithub='" + github + "\'\n" +//
                    "\taddress='" + address + "\'\n" +//
                    "\tqq='" + qq + "\'\n" +//
                    "\temail='" + email + "\'\n" +//
                    "\tdes='" + des + "\'\n" +//
                    '}';
        }
    }

    @Override
    public String toString() {
        return "ServerModel{\n" +//
                "\tmethod='" + method + "\'\n" +//
                "\tip='" + ip + "\'\n" +//
                "\turl='" + url + "\'\n" +//
                "\tdes='" + des + "\'\n" +//
                "\tupload='" + upload + "\'\n" +//
                "\tauthor=" + author + "\n" +//
                '}';
    }
}
